<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
</head>
<body>
<div id="app">
    {{ message }}
</div>
<script>
    function getTime() {
        const date = new Date();
        const year = date.getFullYear();
        const month = String(date.getMonth() + 1).padStart(2, "0");
        const day = String(date.getDate()).padStart(2, "0");
        const time = `${year}-${month}-${day}`;
        return time;
    }

    const data = new Date()
    const month = data.getMonth()
    console.log(month)
    document.write(month)

</script>


{#<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>#}
</body>
</html>